﻿@model List<e.Store.Model.Entities.Menu>

<div class="navbar navbar-default navbar-inverse">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-inverse-collapse">
                <span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/Home/Index"><i class="icon-home icon-white"></i>&nbsp;eStore
            </a>
        </div>
        <div class="navbar-collapse collapse navbar-inverse-collapse">
            <ul class="nav navbar-nav">

                @foreach (var item in Model)
                {
                    <li><a href="/@item.ControllerName/@item.DefaultActionName"><i class="@item.IconClass"></i>

                        <span>@item.MenuName</span></a></li>
                }
               
            </ul>
            <ul class="nav navbar-nav navbar-right pull-right">

              
                <li><a href="#"><i class="icon-book"></i>

                    <span>Help</span></a></li>
                <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><i
                    class="icon-user"></i>

                    <span>Admin</span> <b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li><a href="#"><i class="icon-briefcase"></i>&nbsp;Profile</a></li>
                        <li><a href="#"><i class="icon-cog"></i>&nbsp;Settings</a></li>
                        <li class="divider"></li>
                        <li><a href="#"><i class="icon-signout"></i>&nbsp;Logout</a></li>
                    </ul>
                </li>
              
            </ul>
        </div>
        <!-- /.nav-collapse -->
    </div>
    <!-- /.container -->
</div>
